#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <time.h>
#include "priority_queue.h"

using namespace std;

int main()
{
	ljt::priority_queue<int> q;

	srand(time(NULL));

	for (int i = 0; i < 10; i++)
	{
		q.push(rand());
	}

	while (!q.empty())
	{
		cout << q.top() << ' ';
		q.pop();
	}
	return 0;
}